<%@ page contentType="text/html; charset=UTF-8" %>
<%@page import="net.lunjin.util.Constants"%>
<%@page import="java.util.List"%>
<%@page import="net.lunjin.bean.News"%>
<%@page import="java.util.Random"%>
<% 
List<News> bbsNewsList = (List<News>) request.getAttribute("bbsNewsList");
int online = new Random().nextInt(30)+ 278 ;
%>

<!-- 投资交流新贴 -->
    <div class="latestnews">
    	<dl class="right">
        	<dt class='light'><strong style="margin-left:-8px;">投资交流新贴</strong>
				<span class="more" style="margin-top:3px;">
					<a href="<%=Constants.URL %>/bbs/index/list_1.html" target="_blank">当前在线<%=online %>人,进入讨论区>></a>
				</span>
        	</dt>
         	<dd class='light'>
			  <%for(int i=0;i<bbsNewsList.size();i++){ %>
			  	<ul class="e3">
					<li>
					<a href="<%=Constants.URL %>/bbs/topic<%=bbsNewsList.get(i).getId()%>.html" class="preview"><img src="<%=Constants.URL %>/images/hj.gif" alt="pic"/></a>
					<a href="<%=Constants.URL %>/bbs/topic<%=bbsNewsList.get(i).getId()%>.html" target="_blank" class="title"><%=bbsNewsList.get(i).getNewstitle()%></a>
					<span class="intro">发布时间:<span class="fc-f90"><%=bbsNewsList.get(i).getCreatetime()%></span>浏览:<span class="fc-f90"><%=bbsNewsList.get(i).getHit()%></span>次</span>
					</li>
				</ul>
				<%}%>
			</dd>
		</dl>
	</div>
<!-- //投资交流新贴 -->